local thbattle__patchouli_boxue = fk.CreateSkill {

  name = "thbattle__patchouli_boxue",

  tags = { Skill.Compulsory, },

}



thbattle__patchouli_boxue:addEffect(fk.PreCardEffect, {
  anim_type = "defensive",
  can_trigger = function(self, event, target, player, data)
    return data.to == player and player:hasSkill(thbattle__patchouli_boxue.name) and data.card and
        data.card.suit == Card.Spade and data.card.type == Card.TypeTrick
  end,
  on_use = function(self, event, target, player, data)
    data.nullified=true
  end,
})

return thbattle__patchouli_boxue